package aiguigu1.one;

/**
 * ClassName: ArrayExer
 * Package: aiguigu1.one
 * Description:
 *
 * @Author ZY
 * @Create 2024/9/11 13:22
 * @Version 1.0
 */

public class ArrayExer {
    public static void main(String[] args) {
        int[] arr = new int[]{8,2,1,0,3};
        int[] index = new int[]{2,0,3,2,4,0,1,3,1,3,3};
        String tel = "";
        for (int i = 0; i < index.length; i++) {
            System.out.println("次数:"+ i);
            int value = index[i];
            tel += arr[value];
        }
        System.out.println("联系方式:" + tel);
    }
}
